<?php
defined( '_PSPEXEC_' ) or die( 'Restricted access' );
if (!function_exists('_User_params')) {
    function _User_params(& $controller,&$view,$str){
	    return Param::read($str);    
    }
}  
if (!function_exists('_User_webroot')) {  
    function _User_webroot(& $controller,&$view,$str){
	    $temp =array();	
	    $temp = explode(":",$str);			
        $temp = filterEmptyVar($temp);
		if(!isset($temp[0])){
			return '';
		} 
		$url = trim($temp[0]);
		if(isset($temp[1]) && trim($temp[1]) =='true'){
            $isall = true;
		}else{
            $isall = false;
		}   
	    return $view->_webroot($url,$isall);
    }
}  
?>